package com.tianyang.yukuaifuzs.business.main.contract;

import com.tianyang.yukuaifuzs.base.IBaseExtraView;
import com.tianyang.yukuaifuzs.base.IBasePresenter;
import com.tianyang.yukuaifuzs.business.main.bean.PosAgentOutput;

import java.util.List;

/**
 * Description：服务商管理
 * Created by xyj on 2024/3/10
 */
public interface ServiceManageContract {

    interface View extends IBaseExtraView<Presenter> {
        /**
         * 显示服务商列表
         */
        void showServiceManageListView(List<PosAgentOutput> outputs, boolean isFirst);

        /**
         * 上拉加载状态
         */
        void showLoadMore(String loadMore);
    }

    interface Presenter extends IBasePresenter {

        /**
         * 获取服务商列表
         */
        void getServiceManageList(int pageNumber, String searchKey);
    }
}
